package com.kangzhan.enums;

/**
 * 返回数据相关枚举
 *
 * @author hsh
 * @create 2018-01-24 下午 4:20
 */
@SuppressWarnings("all")
public enum ReturnEntityEnum {

    SUCCESS(200, "成功"),
	ERROR(500,"服务器错误");


    private String message;

    private int status;

    public String getMessage() {
        return message;
    }

    public int getStatus() {
        return status;
    }

    private ReturnEntityEnum(int status, String message) {

        this.status = status;

        this.message = message;

    }
}
